package com.tjnu.losca.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author losca
 * @since 2022-02-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Cart implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String userId;

    private Integer goodId;

    private String goodsName;

    private Integer price;

    private Integer count;

    private String picUrl;

    private String addTime;

    private String updateTime;

    private String subtitle;

    @TableField("productSelected")
    private Boolean productSelected;

    @TableField("productStock")
    private Integer productStock;

    @TableField("Status")
    private Integer Status;

    @TableField("productTotalPrice")
    private Integer productTotalPrice;


}
